package hui.com.controller.wms.container;

import hui.com.model.res.MyResponse;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.CrossOrigin;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

@CrossOrigin(origins = "*")//处理跨源资源共享
@RequestMapping("/public/Warehouse/container")
@Controller
public class container {

    /**
     *查找箱子
     *
     */
    @RequestMapping("/getContainerList")
    @ResponseBody
    public Object getContainerList(){
        return MyResponse.builder().code(200).build();
    }
    /**
     *查找箱子
     *
     */
    @RequestMapping("/getContainer")
    @ResponseBody
    public Object getContainer(){
        return MyResponse.builder().code(200).build();
    }
}
